<template>
  <div class="category">
    <h3>{{title}}分类</h3>
    <slot></slot>
  </div>
</template>

<script>
export default {
  name: 'Category',
  props: ['title']
};
</script>
<style  scoped>
/*@import url(); 引入公共css类*/
.category {
    background-color: skyblue;
    width: 200px;
    height: 300px;
}
</style>